﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Waiter.Common
{
    /// <summary>
    /// enum ket qua load data cho control
    /// </summary>
    public enum ResultStatus : int
    {
        NONE = 0,
        ERROR = 1,
        SUCCESS = 2
    }

    /// <summary>
    /// trang thai flag
    /// </summary>
    public enum CommonStatus : int
    {
        ON = 0,
        OFF = 1
    }

    /// <summary>
    /// trang thai xu ly tren form
    /// </summary>
    public enum ActionStatus : int
    {
        DEFAULT = 0,
        ADDING = 1,
        EDITING = 2
    }

    /// <summary>
    /// Trạng thái table
    /// </summary>
    public enum TableStatus : int
    {
        /// <summary>
        /// Bàn trống
        /// </summary>
        EMPTY = 0,

        /// <summary>
        /// Bàn đang bán
        /// </summary>
        BUSY=1,

        /// <summary>
        /// Bàn đã gọp lại với bàn khác
        /// </summary>
        MERGE=2,

        /// <summary>
        /// Bàn không được sử dụng
        /// </summary>
        NOT_USE=3
    }

    /// <summary>
    /// Trang thái phiếu gọi món
    /// </summary>
    public enum OrderCouponStatus : int
    {
        /// <summary>
        /// chưa tính tiền
        /// </summary>
        NOT_CHARGED = 0,

        /// <summary>
        /// đã tính tiền
        /// </summary>
        WAS_CHARGED = 1
    }

    /// <summary>
    /// Trang thái món được gọi
    /// </summary>
    public enum OrderCouponDStatus : int
    {
        /// <summary>
        /// chờ pha chế
        /// </summary>
        NOT_PREPARED = 0,

        /// <summary>
        /// đã pha chế xong
        /// </summary>
        PREPARED = 1
    }

    /// <summary>
    /// Trạng thái món
    /// </summary>
    public enum MenuStatus : int
    {
        /// <summary>
        /// Sẳn sàng
        /// </summary>
        AVAILABLE = 0,

        /// <summary>
        /// Món đã hết
        /// </summary>
        NOT_AVAILABLE = 1
    }

    /// <summary>
    /// trang thai hoa don
    /// </summary>
    public enum BillStatus : int
    {
        /// <summary>
        /// Hoa don huu hieu
        /// </summary>
        USE = 0,

        /// <summary>
        /// Hoa don bi huy
        /// </summary>
        NOT_USE = 1
    }

    /// <summary>
    /// Loai tai khoan
    /// </summary>
    public enum UserType : int
    {
        /// <summary>
        /// Chi co the su dung cac chuc nang co ban
        /// </summary>
        USER = 0,

        /// <summary>
        /// Co the su dung tat ca cac chuc nang
        /// </summary>
        ADMIN = 1
    }
}
